
****************************************************************************************************************************************
*** The following code has been modified in order to remove surveyor fixed effects and survey month fixed effects from all regressions.
****************************************************************************************************************************************
		
		maketable_t2  Trim_Income log_Income   Trim_Profits_30Days log_Profits  if  Survey_Version!=5 &  Done==1 , /// 
		spec11( Winner_Quint_Rank_NS  ) ///
		spec21( Winner_Quint_Rank_NS_Tercile_3 Winner_Quint_Rank_NS_Tercile_2  ) ///
		cont($controls) ///
		table("${outtex}${date}_Returns_NoSelfRank_removingFEs.tex") ///
		het(Winner_Quint_Rank_NS)   ///
		type(tex) /// 
		footnote($footnote_t2_removingFEs ) ///
		prehead1($prehead1) prehead2($prehead2) /// 
		postheadpa("\hline \rule{0pt}{3ex} \hspace{-.16in}  \it{Panel A: Average MR Rank Value} \vspace{.05in} \\") ///
		postheadpb("\\ \hspace{-.1 in} \it{Panel B: Average MR Rank Tercile} \vspace{.05in} \\") ///
		title("Replicating Table 2 in Hussam et al. (2022b): Without Surveyor and Survey Month Fixed Effects") label(rankmreffectfe_removigFEs)
		
		
/* The original code was as follows:
		maketable_t2  Trim_Income log_Income   Trim_Profits_30Days log_Profits  if  Survey_Version!=5 &  Done==1 , /// 
		spec11( Winner_Quint_Rank_NS  ) ///
		spec21( Winner_Quint_Rank_NS_Tercile_3 Winner_Quint_Rank_NS_Tercile_2  ) ///
		cont($controls) ///
		table("${outtex}${date}_Returns_NoSelfRank.tex") ///
		het(Winner_Quint_Rank_NS)   ///
		type(tex) /// 
		footnote("$footnote_s2 $footnote_d2  $footnote_o2" ) ///
		prehead1($prehead1) prehead2($prehead2) /// 
		postheadpa("\hline \rule{0pt}{3ex} \hspace{-.16in}  \it{Panel A: Average MR Rank Value} \vspace{.05in} \\") ///
		postheadpb("\\ \hspace{-.1 in} \it{Panel B: Average MR Rank Tercile} \vspace{.05in} \\") ///
		title("Do Peer Reports Predict True Marginal Returns to the Grant?") label(rankmreffectfe)
		
	*/	
